package jsyf.oa.entity.system;

import com.alibaba.fastjson.JSONObject;
import jsyf.oa.ientity.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Dictionary;

/**
 * Created by WHH-PC on 2018/2/5.
 */
@Entity
@Table(name = "T_SYS_SHOULD_SIGN_IN", schema = "oa", catalog = "")
public class ShouldSignInEntity  extends BaseEntity{
    private String roleId;
    private String shouldMonth;
    private String shouldSignIn;
    private String createUserId;
    private String frontFlag;
    private String monthOne;
    private String monthTwo;
    private String monthThree;
    private String monthFour;
    private String monthFive;
    private String monthSix;
    private String monthSeven;
    private String monthEight;
    private String monthNine;
    private String monthTen;
    private String monthEleven;
    private String monthTwelve;
    private String year;
    private String month;



    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getShouldMonth() {
        return shouldMonth;
    }

    public void setShouldMonth(String shouldMonth) {
        this.shouldMonth = shouldMonth;
    }

    public String getShouldSignIn() {
        return shouldSignIn;
    }

    public void setShouldSignIn(String shouldSignIn) {
        this.shouldSignIn = shouldSignIn;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getFrontFlag() {
        return frontFlag;
    }

    public void setFrontFlag(String frontFlag) {
        this.frontFlag = frontFlag;
    }

    public String getMonthOne() {
        return monthOne;
    }

    public void setMonthOne(String monthOne) {
        this.monthOne = monthOne;
    }

    public String getMonthTwo() {
        return monthTwo;
    }

    public void setMonthTwo(String monthTwo) {
        this.monthTwo = monthTwo;
    }

    public String getMonthThree() {
        return monthThree;
    }

    public void setMonthThree(String monthThree) {
        this.monthThree = monthThree;
    }

    public String getMonthFour() {
        return monthFour;
    }

    public void setMonthFour(String monthFour) {
        this.monthFour = monthFour;
    }

    public String getMonthFive() {
        return monthFive;
    }

    public void setMonthFive(String monthFive) {
        this.monthFive = monthFive;
    }

    public String getMonthSix() {
        return monthSix;
    }

    public void setMonthSix(String monthSix) {
        this.monthSix = monthSix;
    }

    public String getMonthSeven() {
        return monthSeven;
    }

    public void setMonthSeven(String monthSeven) {
        this.monthSeven = monthSeven;
    }

    public String getMonthEight() {
        return monthEight;
    }

    public void setMonthEight(String monthEight) {
        this.monthEight = monthEight;
    }

    public String getMonthNine() {
        return monthNine;
    }

    public void setMonthNine(String monthNine) {
        this.monthNine = monthNine;
    }

    public String getMonthTen() {
        return monthTen;
    }

    public void setMonthTen(String monthTen) {
        this.monthTen = monthTen;
    }

    public String getMonthEleven() {
        return monthEleven;
    }

    public void setMonthEleven(String monthEleven) {
        this.monthEleven = monthEleven;
    }

    public String getMonthTwelve() {
        return monthTwelve;
    }

    public void setMonthTwelve(String monthTwelve) {
        this.monthTwelve = monthTwelve;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    @Override
    public JSONObject getJSONObject() {
        JSONObject obj = new JSONObject();
        obj.put("ID", this.getId());
        obj.put("ROLE_ID", this.getRoleId());
        obj.put("SHOULD_MONTH", this.getShouldMonth());
        obj.put("SHOULD_SIGNIN",this.getShouldSignIn());
        obj.put("FRONT_FLAG",this.getFrontFlag());
        obj.put("CREATE_USER_ID",this.getCreateUserId());
        obj.put("CREATE_TIME",this.getCreateTime());
        return obj;
    }

    @Override
    public String getTableName() {
        return "T_SYS_SHOULD_SIGN_IN";
    }

    @Override
    public JSONObject getJSONColumns() {
        JSONObject obj = new JSONObject();
        obj.put("ID", "id");
        obj.put("ROLE_ID", "roleId");
        obj.put("SHOULD_MONTH", "shouldMonth");
        obj.put("SHOULD_SIGNIN", "shouldSignin");
        obj.put("FRONT_FLAG","frontFlag");
        obj.put("CREATE_USER_ID", "createUserId");
        obj.put("CREATE_TIME", "createTime");
        return obj;
    }
}
